/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package controler;

import java.awt.*;
import javax.swing.*;
import view.base.TabsPanel;
import view.web.WebTabsPanel;

/**
 *
 * @author camil
 */
public class WebApplication extends JApplet {

    public WebApplication() throws HeadlessException {
        super();
        view.base.LookAndFeel.set();
    }

    /**
     * Initialization method that will be called after the applet is loaded into
     * the browser.
     */
    @Override
    public void init() {

        String operators = getCodeBase() + "operators.txt";
        System.out.println(operators);
        TabsPanel tp = new WebTabsPanel(operators);
        add(tp);

        EventQueue.invokeLater(new Runnable() {
            @Override
            public void run() {
            }
        });
    }
    // TODO overwrite start(), stop() and destroy() methods
}
